package com.byx.chatclient.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * SimpleUserBean
 * 简单用户对象
 * @author Superb
 * @date 2021/4/26 10:27
 */
public class SimpleUserBean implements Serializable {
    @SerializedName("id")
    private Long id;
    @SerializedName("avatar")
    private String avatar;
    @SerializedName("loginId")
    private String loginId;
    @SerializedName("nickName")
    private String nickName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "SimpleUserBean{" +
                "id=" + id +
                ", avatar='" + avatar + '\'' +
                ", loginId='" + loginId + '\'' +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}
